//覆盖一些element-ui样式

.scrollbar-wrapper {
  overflow-x: hidden !important;
}

.el-table.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
  th {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  td {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

.el-table.el-table--scrollable-x {
  -ms-overflow-style: auto !important;
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}
.el-dialog__header {
  // cursor: move;
}
//dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

//select
.el-select {
  .el-select__tags {
    .el-select__tags-text {
      color: #409eff;
    }
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}
// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

//disabled
.el-textarea.is-disabled .el-textarea__inner,
.el-input.is-disabled .el-input__inner,
.el-checkbox__input.is-disabled + span.el-checkbox__label {
  color: #606266;
}
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
  color: #606266;
}

.el-button + .el-button {
  margin-left: 6px;
}

.el-select__tags .el-tag {
  color: #409eff !important;
  border-color: #d9ecff !important;
}

//表格的高亮行底色
.el-table__body tr.current-row > td {
  background-color: #fdf5e6;
}

.el-upload-list__item {
  -webkit-transition: none !important;
  transition: none !important;
}

.el-message-box__message p {
  word-break: break-all !important;
}
.headerClass-row {
  background: #409eff !important;
  color: #fff;
}
